<html>
    <head>
      <title>My Great Website</title>
    </head>
    <body>
      <div id="fb-root"></div>
      <script src="http://connect.facebook.net/en_US/all.js">
      </script>
      <script>

        FB.init({ 
                appId:'176213615761250', 
                cookie:true, 
                status:true, 
                xfbml:true 
        });
        var name;
        FB.api('\me' , function(user) {
                URL = document.location.href;
                var newURL = URL.split("?");
                name = user.name;
                FB.ui({ method: 'feed', 
//                      an thelw to teleytaio vazw thesi pinaka str.length-1
                        message: name +' is into this!!!', 
                        link: newURL[1],
			redirect_uri:'http://cyberang3l.ath.cx:33335/database/insert.php?user='+name+'&link='+newURL,
                        next: null
 
                });

        });


         
         


      </script>
     </body>
 </html>
